package io.renren.modules.footprint.dao;

import io.renren.modules.footprint.entity.VipfootprintinfosCustomEntity;
import io.renren.modules.footprint.entity.VipfootprintinfosEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author 
 * @email 
 * @date 2018-10-26 15:36:43
 */
@Mapper
public interface VipfootprintinfosDao extends BaseDao<VipfootprintinfosEntity> {
    //根据项目删除收藏
    int deleteByProject(String[] targetid);

    //删除用户所有足迹
    int deleteByUser(String[] userinfoid);

    //查询api足迹列表总数
    int queryApiTotal(Map<String, Object> map);

    //查询api足迹列表
    List<VipfootprintinfosCustomEntity> queryApiList(Map<String, Object> map);

    VipfootprintinfosCustomEntity queryCustomInfo(String vipfootprintinfoid);

    List<VipfootprintinfosCustomEntity> queryCustomList(Map<String, Object> map);

    int queryCustomTotal(Map<String, Object> map);

    int judgeFoodprintExistByUser (VipfootprintinfosEntity vipfootprintinfosEntity);
}
